/// 应用尺寸系统
/// 从 Figma 设计稿中提取的组件尺寸
class AppDimensions {
  AppDimensions._(); // 防止实例化

  // 圆角半径（从 Figma 设计稿提取）
  static const double radiusXs = 6.0; // Tab圆角
  static const double radiusSm = 8.0;
  static const double radiusMd = 16.0; // 卡片圆角
  static const double radiusLg = 20.0; // 按钮圆角
  static const double radiusXl = 24.0; // 大按钮圆角
  static const double radiusFull = 9999.0; // 完全圆角

  // 按钮高度（从 Figma 设计稿提取）
  static const double buttonHeightLarge = 56.0;
  static const double buttonHeight = 44.0; // 主按钮
  static const double buttonHeightMedium = 32.0; // 导航栏按钮
  static const double buttonHeightSmall = 28.0; // 缓存清理按钮
  static const double buttonHeightTag = 24.0; // FTP 标签

  // 图标尺寸
  static const double iconXs = 12.0;
  static const double iconSm = 16.0;
  static const double iconMd = 20.0;
  static const double iconLg = 28.0;
  static const double iconXl = 32.0;

  // 头像尺寸
  static const double avatarSm = 32.0;
  static const double avatarMd = 48.0;
  static const double avatarLg = 64.0;
  static const double avatarXl = 96.0;

  // 卡片尺寸
  static const double cardMinHeight = 120.0;
  static const double cardElevation = 0.0; // 深色主题不使用阴影

  // 图片缩略图尺寸
  static const double thumbnailSm = 80.0;
  static const double thumbnailMd = 120.0;
  static const double thumbnailLg = 160.0;

  // AppBar 高度（从 Figma 提取）
  static const double appBarHeight = 44.0; // 导航栏高度
  static const double statusBarHeight = 46.0; // 状态栏高度

  // 底部导航栏高度
  static const double bottomNavHeight = 60.0;

  // 输入框高度
  static const double inputHeight = 48.0;
  static const double inputHeightSmall = 40.0;

  // 分割线宽度
  static const double dividerThickness = 1.0;
  static const double dividerThicknessBold = 2.0;

  // 边框宽度
  static const double borderWidth = 1.0;
  static const double borderWidthBold = 2.0;
}
